ul {
  margin: 0;
  padding: 0;

}

.clearfloat {
  zoom: 1;
}

.clearfloat::after {
  display: block;
  visibility: hidden;
  clear: both;

  height: 0;

  content: "";
}

.tab-list {
  position: relative;

  margin-top: 10PX;
}

.tab-list .tab-itom {
  float: left;

  margin-right: 4px;

  list-style: none;
}

.tab-itom .test-label {
  position: relative;

  display: block;

  width: 85px;
  height: 27px;

  text-align: center;

  border: 1px solid transparent;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background: #e7e8eb;

  line-height: 27px;
}

.tab-itom .tab-box {
  /* 设置绝对定位方便定位相对于tab-list栏的位置，同时为了可以使用z-index属性 */
  position: absolute;
  /* 设置层级最低方便选中状态遮挡 */
  z-index: 0;
  top: 28px;
  left: 0;

  overflow-y: auto;

  width: 100%;
  height: calc(100vh - 130px);
  padding: 10PX;

  border: 1px solid #cbcccc;
  border-radius: 5px;
  border-top-left-radius: 0px;
  background: #fff;
}

/* 用绝对定位使按钮脱离文档流，透明度设置为0将其隐藏 */
input[type="radio"] {
  position: absolute;

  opacity: 0;
}

/* 利用选择器实现  tab切换 */

/* 当radio为选中状态时设置它的test-label兄弟元素的属性 */
input[type="radio"]:checked+.test-label {
  /* 为了修饰存在的层级使下边框遮挡下方div的上边框 */
  z-index: 10;
  /* 为了修饰存在的边框背景属性 */

  border-color: #cbcccc;
  border-bottom-color: #fff;
  background: #fff;
}

/* 当radio为选中状态时设置与它同级的tab-box元素的显示层级 */
input[type="radio"]:checked~.tab-box {
  /* 选中时提升层级，遮挡其他tab页达到选中切换的效果 */
  z-index: 5;
}

/* input 开关开始 */
.switch-btn {
  position: relative;

  display: inline-block;

  width: 80px;
  height: 28px;

  cursor: pointer;
  user-select: none;

  border: 1px solid #dfdfdf;
  border-radius: 15px;
  outline: none;
  background-color: #fdfdfd;
  background-clip: content-box;
  box-shadow: #dfdfdf 0 0 0 0 inset;

  -webkit-appearance: none;
}

.switch-btn:before {
  position: absolute;
  top: 0;
  left: 0;

  width: 40px;
  height: 25px;

  content: '';

  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

.switch-btn:checked {
  border-color: #56b0d4;
  background-color: #56b0d4;
  box-shadow: #56b0d4 0 0 0 16px inset;
}

.switch-btn:checked:before {
  left: 36px;
}

.switch-btn.switch-btn-animbg {
  transition: background-color ease .4s;
}

.switch-btn.switch-btn-animbg:before {
  transition: left .3s;
}

.switch-btn.switch-btn-animbg:checked {
  transition: border-color .4s, background-color ease .4s;

  background-color: #56b0d4;
  box-shadow: #dfdfdf 0 0 0 0 inset;
}

.switch-btn.switch-btn-animbg:checked:before {
  transition: left .3s;
}

/* input 开关结束 */

/* 基础配置样式开始 */
.commentFont {
  display: flex;
  align-items: center;

  width: 100%;
  height: 50px;

  color: #001737;
}

.commentFont span {
  display: block;
  display: flex;
  align-items: center;

  margin-right: 20px;
}

.commentFont .name {
  width: 100px;
}

.commentFont .title {
  width: 200px;
}

.previewImg {
  height: 45px;
}

.inputClass input {
  width: 240px;
  padding: 8px 10px;

  border: 1px solid #ccc;
  border-radius: 3px;
  outline-style: none;

  font-family: "Microsoft soft";
  font-size: 14px;
  font-weight: 700;
}

.inputClass input:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)
}

/* 基础配置样式结束 */